package cn.zhentao.charge.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 收益对象 charge_user_income
 * 
 * @author ruoyi
 * @date 2025-05-15
 */
public class ChargeUserIncome extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 注解id */
    private Long id;

    /** 获取收益用户id */
    @Excel(name = "获取收益用户id")
    private Long userId;

    /** 收益 */
    @Excel(name = "收益")
    private BigDecimal income;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setIncome(BigDecimal income) 
    {
        this.income = income;
    }

    public BigDecimal getIncome() 
    {
        return income;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("income", getIncome())
            .append("createTime", getCreateTime())
            .toString();
    }
}
